﻿<%@ Page Title="" Language="C#" MasterPageFile="~/pages/Main.Master" AutoEventWireup="true" CodeBehind="AnswerQnA.aspx.cs" Inherits="qna.pages.AnswerQnA" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register src="../Controls/CreateAnswer.ascx" tagname="CreateAnswer" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">

<script type="text/javascript" src="../js/question.js"></script>
</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="MainColumn">
    <asp:HiddenField ID="userId" runat="server" />

    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
                        
    <div style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #4D8D99;">
        <h1 class="h1Ans" id="TitlePage" runat="server" >Answer this Question</h1>
        <asp:Panel ID="QuestionPanel" runat="server">
        </asp:Panel>
    </div>

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div id="Answers">
                <h2 class="h2" style="float: left" id="AnswersH2" runat="server">Answers</h2>
                <br style="clear:both" />
                <asp:Panel ID="AnswerList" runat="server">
                </asp:Panel>
            </div>
                        
            <br style="clear:both" />

            <div id="AskQuestion">
                <h2 class="h2" style="margin-left: 30px" id="PostAnswer" runat="server">Post an Answer</h2>
                <uc1:CreateAnswer ID="CreateAnswer1" runat="server" />
                
                        
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

